import { defineStore } from 'pinia'
export const useHistoryStore = defineStore('history', {
  state: () => ({
    history: null
  }),

  actions: {
    async setHistory(data) {
      this.history = data
    },
    async removeHistory() {
      this.history = null
    }
  }
})
